package com.ticket.sass.admin.dto.input.dispatch;

/**
 * @author ywb
 * @date 2024-04-08 16:31
 */

import com.ticket.sass.admin.validator.InEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "卖品配送影厅配置DTO")
public class DispatchHallConfigInput {
    @NotNull(message = "影厅ID不能为空")
    @ApiModelProperty(value = "影厅ID")
    private Long hallId;
    
    @NotNull(message = "配送方式不能为空")
    @ApiModelProperty(value = "配送方式：0-不支持, 1-配送到厅口, 2-配送入座")
    @InEnum(intValues = {0, 1, 2})
    private Short mode;
}

